home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / New System Software Extensions / QuickDraw™ GX v1.0ß2 / Sample Code / Printing Samples / Printer Drivers… / ImageWriterLQ / OldAPIResources.r < prev    next >
Encoding:
Text File  |  1993-09-13  |  40.3 KB  |  1,431 lines  |  [TEXT/MPS ]

  1. /* ------------------------------------------------------------------------------
  2. FILENAME
  3.     OldAPIResources.r
  4.  
  5. DESCRIPTION
  6.     This module contains the ImageWriter LQ resource constants and types that
  7.     are needed to support the old (i.e. QuickDraw) application printing interface.
  8.     
  9.     Note: resources specific to the old API (e.g. print and style dialog resources)
  10.     must retain the original resource ID's (e.g. -8192).  Don't set these resource
  11.     ID's to be based upon gxPrintingDriverBaseID.  Also note that all resources
  12.     should be designated to load into the system heap.
  13.         
  14. COPYRIGHT
  15.      Copyright Apple Computer, Inc. 1992
  16.      All rights reserved. 
  17.     
  18. -------------------------------------------------------------------------------- */
  19.  
  20. // System 7.0 Compatible
  21. #define SystemSevenOrLater        1
  22.  
  23. // Include System Resource Definitions
  24. #include "Types.r"
  25. #include "SysTypes.r"
  26. #include "BalloonTypes.r"
  27.  
  28. // Include the ImageWriter LQ driver constants that are used in the resources 
  29. #include "Resources.h"
  30.  
  31. // Include the public QuickDraw GX printing files 
  32. #include "PrintingResTypes.r"
  33.  
  34.  
  35. /*********************************************************************************
  36.  *                                    TYPES                                                               *
  37.  *********************************************************************************/
  38.  
  39. type 'PREC' (0)             // ImageWriter LQ - Old Style Print Record Definition that should be compatible with System 7.0 version of IW LQ driver
  40. {
  41.     integer = 1;                            // iPrVersion
  42.     
  43.                                                 // PrInfo
  44.     integer;                                        //    iDev
  45.     integer;                                        //    iVRes
  46.     integer;                                        //    iHRes
  47.     rect;                                            //    rPage
  48.  
  49.     rect;                                        //    rPaper
  50.  
  51.                                                 //    PrStl
  52.                                                     // ******** START DUMMY ( READ ONLY ) STORAGE *********
  53.     byte;                                            //    wDev refNum    
  54.     boolean NoZoom, Zoom4X;                    //    wDev 33% Reduction
  55.     boolean NoDftBts, DftBts;                //    wDev fDraftBits
  56.     boolean NoResSet, ResSet;                //    wDev fResSet
  57.     boolean NoScroll, Scroll;                //    wDev fScroll
  58.     boolean NoZoom, Zoom2X;                    //    wDev f2XZoom
  59.     boolean UniDir, BiDir;                    //    wDev fBiDir        
  60.     boolean Landscape, Portrait;            //    wDev fPortrait    
  61.     boolean LowRes, HighRes;                //    wDev fHiRes        
  62.                                                     // ******** END DUMMY ( READ ONLY ) STORAGE ********* */
  63.                                                 
  64.     integer;                                        //    iPageV        
  65.     integer;                                        //    iPageH        
  66.     byte;                                            //    bPort        
  67.     byte Cut, Fanfold, MechCut, Other;    //    feed        
  68.  
  69.                                                 //    PrInfoPT
  70.     integer;                                        //    iDev        
  71.     integer;                                        //    iVRes        
  72.     integer;                                        //    iHRes        
  73.     rect;                                            //    rPage        
  74.  
  75.                                                 //    PrXInfo
  76.     integer;                                        // iRowBytes    
  77.     integer;                                        //    iBandV        
  78.     integer;                                        //    iBandh        
  79.     integer;                                        //    iDevBytes    
  80.     integer;                                        //    iBands        
  81.     byte dbl=-2, norm=0;                        //    bPatScale    
  82.     byte;                                            //    bULThick    
  83.     byte;                                            //    bULOffset    
  84.     byte;                                            //    bULShadow    
  85.     byte scanTB, scanBT, scanLR, scanRL;//    scan        
  86.     fill byte;                                    //    bXInfoX        
  87.  
  88.                                                 //    PrJob        
  89.     integer;                                        //    iFstPage    
  90.     integer;                                        //    iLstPage    
  91.     integer;                                        //    iCopies        
  92.     byte draft, spool, User1, User2;        //    bJDocLoop    
  93.     byte;                                            //    fFromUsr    
  94.     longint;                                        //    pIdleProc    
  95.     longint;                                        //    pFileName    
  96.     integer;                                        //    iFileVol    
  97.     byte;                                            //    bFileVers    
  98.     byte;                                            //    bJobFlags    
  99.     
  100.                                                 //    PrintX
  101.     integer;                                        //    CSF Bin Flags 
  102.     byte;                                            //    wDev refNum    
  103.     boolean NoZoom, Zoom4X;                    //    wDev 33% Reduction    
  104.     boolean NoDftBts, DftBts;                //    wDev fDraftBits    
  105.     boolean NoResSet, ResSet;                //    wDev fResSet    
  106.     boolean NoScroll, Scroll;                //    wDev fScroll    
  107.     boolean NoZoom, Zoom2X;                    //    wDev f2XZoom    
  108.     boolean UniDir, BiDir;                    //    wDev fBiDir        
  109.     boolean Landscape, Portrait;            //    wDev fPortrait    
  110.     boolean LowRes, HighRes;                //    wDev fHiRes    
  111.  
  112.     fill word [17];                            //    Make 120 byte total    
  113. };
  114.  
  115.  
  116. /*********************************************************************************
  117.  *                                    RESOURCES                                                           *
  118.  *********************************************************************************/
  119.  
  120. /*************************** Old API Message Override Resource **************************/
  121. // This overrideType resource tells the Printing Manager which old API messages we want to override, 
  122. // as well as some new backward compatibility messages. 
  123.  
  124. resource gxOverrideType (gxDriverCompatibilityOverrideID, sysheap, purgeable)
  125. {
  126.     {
  127.         gxPrValidate,                 kOldAPISegmentID, kFirstMsgJumpTableOffset,
  128.         gxConvertPrintRecordTo,     kOldAPISegmentID, kFirstMsgJumpTableOffset + 4,
  129.         gxConvertPrintRecordFrom,    kOldAPISegmentID, kFirstMsgJumpTableOffset + 8,
  130.         gxPrintRecordToJob,         kOldAPISegmentID, kFirstMsgJumpTableOffset + 12,
  131.     };
  132. };
  133.  
  134.  
  135. /*************************** Old Application Compatibility Resource **************************/
  136. // This custType resource is used by the Printing Manager.  It defines some basic options for 
  137. // use with old applications.  Note: every driver should contain one of these resources. 
  138.  
  139. resource gxCustType (gxCustID, purgeable, sysHeap)
  140. {
  141.     216,                            // horizontal device resolution (dpi) 
  142.     216,                             // vertical device resolution (dpi) 
  143.     defaultUpDriver,                // type of "upDriver" to use 
  144.     {3, 3},                            // pattern stretching factor. Set to 3 (nearest thing to 216 dpi/72 dpi) 
  145.     gxDefaultOptionsTranslation    // use default QuickDraw translator settings 
  146. };
  147.  
  148. /*************************** Old Application Resolution Resource **************************/
  149.  
  150. resource 'resl' (-8192, purgeable, sysHeap)
  151. {
  152.     rangeType,
  153.     gxDiscreteResolution, gxDiscreteResolution,
  154.     gxDiscreteResolution, gxDiscreteResolution,
  155.     {
  156.     72,     72;
  157.     216,     216;
  158.     }
  159. };
  160.  
  161.  
  162. /************************** PREC Resources **************************/
  163. // This PREC definition represents the default print record definition 
  164. // for the old LaserWriter SC driver. This resource is accessed by the 
  165. // Universal Dialog Handler. 
  166.  
  167. resource 'PREC' (0, sysheap, purgeable)    // PREC 0 - Default print record definition for the old LaserWriter SC driver 
  168. {
  169.     // PrInfo
  170.     0,
  171.     72,
  172.     72,
  173.     {0, 0, 744, 576},
  174.     
  175.     // rPaper
  176.     {-25, -18, 767, 594},
  177.     
  178.     //PrStl
  179.     5,
  180.     NoZoom,
  181.     NoDftBts,
  182.     NoResSet,
  183.     NoScroll,
  184.     NoZoom,
  185.     UniDir,
  186.     Portrait,
  187.     HighRes,
  188.     1320,                        //    In 1/120 inch measurements
  189.     1020,
  190.     0,
  191.     Fanfold,
  192.     
  193.     // PrInfoPT
  194.     0,
  195.     216,
  196.     216,
  197.     {0, 0, 2232, 1728},
  198.     
  199.     // PrXInfo
  200.     80,
  201.     32,
  202.     640,
  203.     3200,
  204.     24,
  205.     norm,
  206.     1,
  207.     1,
  208.     1,
  209.     scanTB,
  210.     
  211.     // PrJob
  212.     1,
  213.     9999,
  214.     1,
  215.     spool,
  216.     1,
  217.     0,
  218.     0,
  219.     0,
  220.     0,
  221.     0,
  222.     
  223.     // PrintX
  224.     5,
  225.     5,
  226.     NoZoom,
  227.     NoDftBts,
  228.     NoResSet,
  229.     NoScroll,
  230.     NoZoom,
  231.     UniDir,
  232.     Portrait,
  233.     HighRes
  234. };
  235.  
  236.  
  237. /************************** PrStlDialog Resources **************************/
  238. // These dialog related resources define the old ImageWriter LQ's Style dialog. 
  239. // These resources are manipulated by the Universal Dialog Handler 
  240.  
  241. resource 'DLOG' (gxStlDialogResID, sysheap, purgeable)    // Style Dialog DLOG 
  242. {
  243.     {30, 20, 174, 492},
  244.     dBoxProc,
  245.     invisible,
  246.     noGoAway,
  247.     0x1,
  248.     gxStlDialogResID,
  249.     "Stl",
  250.     noAutoCenter
  251. };
  252.  
  253. resource 'DITL' (gxStlDialogResID, sysheap, purgeable)    // Style Dialog DITL 
  254. {
  255.     {    /* array DITLarray: 22 elements */
  256.         /* [1] */    {4, 400, 24, 460}, Button {enabled, "OK"},
  257.         /* [2] */    {34, 400, 54, 460}, Button {enabled, "Cancel"},
  258.         
  259.         /* [3] */    {4, 4, 20, 384}, StaticText {disabled, "^0"},
  260.         /* [4] */    {19, 5, 23, 384}, UserItem {disabled},
  261.         
  262.         /* [5] */    {24, 4, 40, 60}, StaticText {disabled, "Paper:"},
  263.         /* [6] */    {24, 68, 40, 208}, RadioButton {enabled, "US Letter"},
  264.         /* [7] */    {24, 218, 40, 383}, RadioButton {enabled, "A4 Letter"},
  265.         /* [8] */    {39, 68, 55, 208}, RadioButton {enabled, "US Legal"},
  266.         /* [9] */    {39, 218, 55, 383}, RadioButton {enabled, "International Fanfold"},
  267.         /* [10] */    {54, 68, 70, 208}, RadioButton {enabled, "Computer Paper"},
  268.         /* [11] */    {54, 218, 70, 383}, RadioButton {enabled, "Envelope (#10)"},
  269.         
  270.         /* [12] */    {74, 4, 90, 88}, StaticText {disabled, "Orientation"},
  271.         /* [13] */    {93, 5, 125, 37}, UserItem {enabled},
  272.         /* [14] */    {93, 45, 125, 77}, UserItem {enabled},
  273.         
  274.         /* [15] */    {74, 106, 90, 211}, StaticText {disabled, "Special Effects:"},
  275.         /* [16] */    {106, 308, 122, 431}, RadioButton {enabled, "33 % Reduction"},
  276.         /* [17] */    {122, 308, 138, 430}, RadioButton {enabled, "66 % Reduction"},
  277.         /* [18] */    {90, 308, 106, 431}, RadioButton {enabled, "Full Size"},
  278.         /* [19] */    {106, 221, 122, 307}, StaticText {disabled, "Reductions:"},
  279.         /* [20] */    {74, 218, 90, 399}, CheckBox {enabled, "No Gaps Between Pages"},
  280.  
  281.         /* [21] */    {3, 341, 18, 365}, UserItem { enabled },            // area for version number 
  282.         /* [22] */    {0, 394, 27, 464}, UserItem { disabled }            // user item for OK button 
  283.     }
  284. };
  285.  
  286. resource 'dctl' (gxStlDialogResID, sysheap, purgeable)        // Universal Dialog Handler dctl for Style Dialog 
  287. {
  288.     22,
  289.     {
  290.         Button {2, cancel},
  291.         Frill {3, printerName},
  292.         Frill {4, line},
  293.         PaperSizes {0, 0, { 6, 7, 8, 9, 10, 11 }},
  294.         Orientation {13, 14, 0, 0},
  295.         Toggle {20, bBiggerPages},
  296.         Cluster {user0, {16, 17, 18 }},
  297.         Frill {21, version},
  298.         Frill {22, default},
  299.     }
  300. };
  301.  
  302.  
  303.  
  304. // This resource is needed for proper use of color in Style dialog
  305. resource 'dctb' (gxStlDialogResID, sysheap, purgeable)
  306. {
  307.     {    /* array ColorSpec: 0 elements */
  308.     }
  309. };
  310.  
  311.  
  312. /************************** PrJobDialog Resources **************************/
  313. // These dialog related resources define the old LaserWriter SC's Print dialog. 
  314. // These resources are manipulated by the Universal Dialog Handler 
  315.  
  316. resource 'DLOG' (gxJobDialogResID, sysheap, purgeable)     // Job Dialog DLOG 
  317. {
  318.     {28, 26, 156, 500},
  319.     dBoxProc,
  320.     invisible,
  321.     noGoAway,
  322.     0x1,
  323.     gxJobDialogResID,
  324.     "Job",
  325.     noAutoCenter
  326. };
  327.  
  328. resource 'DITL' (gxJobDialogResID, sysheap, purgeable)        //    Job Dialog DITL
  329. {
  330.     {    /* array DITLarray: 22 elements */
  331.         /* [1] */    {4, 400, 24, 460}, Button {enabled, "Print"},
  332.         /* [2] */    {34, 400, 54, 460}, Button {enabled, "Cancel"},
  333.         
  334.         /* [3] */    {4, 4, 20, 384}, StaticText {disabled, "^0"},
  335.         /* [4] */    {19, 5, 23, 384}, UserItem {disabled},
  336.         
  337.         /* [5] */    {29, 4, 45, 88}, StaticText {disabled, "Quality:"},
  338.         /* [6] */    {29, 100, 45, 188}, RadioButton {enabled, "Best"},
  339.         /* [7] */    {29, 210, 45, 298}, RadioButton {enabled, "Faster"},
  340.         /* [8] */    {29, 310, 45, 398}, RadioButton {enabled, "Draft"},
  341.         
  342.         /* [9] */    {79, 4, 95, 88}, StaticText {disabled, "Page Range:"},
  343.         /* [10] */    {79, 100, 95, 188}, RadioButton {enabled, "All"},
  344.         /* [11] */    {79, 210, 95, 270}, RadioButton {enabled, "From:"},
  345.         /* [12] */    {79, 274, 95, 306}, EditText {disabled, ""},
  346.         /* [13] */    {79, 314, 95, 342}, StaticText {enabled, "To:"},
  347.         /* [14] */    {79, 342, 95, 374}, EditText {disabled, ""},
  348.         
  349.         /* [15] */    {104, 4, 119, 88}, StaticText {disabled, "Copies:"},
  350.         /* [16] */    {104, 100, 119, 132}, EditText {disabled, "1"},
  351.         
  352.         /* [17] */    {54, 4, 70, 88}, StaticText {disabled, "Head Scan:"},
  353.         /* [18] */    {54, 100, 70, 210}, RadioButton {enabled, "Bidirectional"},
  354.         /* [19] */    {54, 210, 70, 332}, RadioButton {enabled, "Unidirectional"},
  355.         
  356.         /* [20] */    {64, 400, 84, 460}, Button {enabled, "Options"},
  357.  
  358.         /* [21] */    {3, 341, 18, 365}, UserItem { enabled },            // area for version number 
  359.         /* [22] */    {0, 394, 27, 464}, UserItem { disabled }            // user item for OK button 
  360.     }
  361. };
  362.  
  363. resource 'dctl' (gxJobDialogResID, sysheap, purgeable)        // Universal Dialog Handler dctl for Job Dialog 
  364. {
  365.     22,
  366.     {
  367.         Button {2,    cancel},
  368.         Frill {3, printerName},
  369.         Frill {4, line},
  370.         Cluster { quality, { 6, 7, 8 } },
  371.         PageRange {10, 11, 12, 14 },
  372.         Copies {16},
  373.         Cluster { headMotion, { 19, 18 } },
  374.         DialogBtn {20, kPrintOptionsDlgRsrcID, kPrintOptionsDlgRsrcID},
  375.         Frill {21, version},
  376.         Frill {22, default},
  377.     }
  378. };
  379.  
  380.  
  381. // This resource is needed for proper use of color in Job dialog
  382. resource 'dctb' (gxJobDialogResID, sysheap, purgeable)
  383. {
  384.     {    /* array ColorSpec: 0 elements */
  385.     }
  386. };
  387.  
  388. resource 'DLOG' (kPrintOptionsDlgRsrcID, sysheap, purgeable)     // Print Options Dialog DLOG 
  389. {
  390.     {28, 26, 270, 500},
  391.     dBoxProc,
  392.     invisible,
  393.     noGoAway,
  394.     0x1,
  395.     kPrintOptionsDlgRsrcID,
  396.     "Paper",
  397.     noAutoCenter
  398. };
  399.  
  400. resource 'DITL' (kPrintOptionsDlgRsrcID, sysheap, purgeable)    //    Print Options Dialog DITL
  401. {
  402.     {    /* array DITLarray: 24 elements */
  403.         /* [1] */    {4, 401, 24, 461}, Button {enabled, "OK"},
  404.         /* [2] */    {34, 401, 54, 461}, Button {enabled, "Cancel"},
  405.         
  406.         /* [3] */    {4, 8, 20, 384}, StaticText {disabled, "^0, Paper Path Options"},
  407.         /* [4] */    {19, 5, 23, 384}, UserItem {disabled},
  408.         
  409.         /* [5] */    {32, 96, 48, 192}, RadioButton {enabled, "Automatic"},
  410.         /* [6] */    {32, 216, 48, 312}, RadioButton {enabled, "Hand Feed"},
  411.         /* [7] */    {32, 8, 48, 88}, StaticText {disabled, "Paper Feed:"},
  412.         
  413.         /* [8] */    {72, 8, 88, 160}, StaticText {disabled, "Sheet Feeder Options:"},
  414.         /* [9] */    {72, 200, 88, 240}, StaticText {disabled, "Bin 1"},
  415.         /* [10] */    {72, 264, 88, 304}, StaticText {disabled, "Bin 2"},
  416.         /* [11] */    {72, 328, 88, 368}, StaticText {disabled, "Bin 3"},
  417.         /* [12] */    {96, 24, 112, 176}, StaticText {disabled, "First Sheet From:"},
  418.         /* [13] */    {115, 23, 131, 183}, StaticText {disabled, "Remaining Sheets From:"},
  419.         /* [14] */    {96, 208, 112, 240}, RadioButton {enabled, ""},
  420.         /* [15] */    {96, 272, 112, 304}, RadioButton {enabled, ""},
  421.         /* [16] */    {96, 336, 112, 368}, RadioButton {enabled, ""},
  422.         /* [17] */    {115, 208, 131, 240}, RadioButton {enabled, ""},
  423.         /* [18] */    {115, 272, 131, 304}, RadioButton {enabled, ""},
  424.         /* [19] */    {115, 336, 131, 368}, RadioButton {enabled, ""},
  425.         
  426.         /* [20] */    {163, 9, 226, 455}, StaticText {disabled, "*PLEASE NOTE: Some applications treat each page of a print job as the first page."
  427.                                                                     "  These applications cannot take full advantage of the Sheet Feeder Options.  "
  428.                                                                     "Instead, they print each page from the bin you select in the First Sheet From option."},
  429.         /* [21] */    {139, 7, 154, 457}, StaticText {disabled, "____________________________________________________________________"},
  430.         /* [22] */    {142, 7, 157, 457}, StaticText {disabled, "____________________________________________________________________"},
  431.  
  432.         /* [23] */    {3, 341, 18, 365}, UserItem { enabled },            // area for version number 
  433.         /* [24] */    {0, 395, 27, 465}, UserItem { disabled }            // user item for OK button 
  434.     }
  435. };
  436.  
  437. resource 'dctl' (kPrintOptionsDlgRsrcID, sysheap, purgeable)        // Universal Dialog Handler dctl for Print Options Dialog 
  438. {
  439.     24,
  440.     {
  441.         Button {2,    cancel},
  442.         Frill {3, printerName},
  443.         Frill {4, line},
  444.         Cluster { feed, { 5, 6 } },
  445.         Cluster { firstPage, { 14, 15, 16 } },
  446.         Cluster { restPage, { 17, 18, 19 } },
  447.         Frill {23, version},
  448.         Frill {24, default},
  449.     }
  450. };
  451.  
  452.  
  453. // This resource is needed for proper use of color in Print Options dialog
  454. resource 'dctb' (kPrintOptionsDlgRsrcID, sysheap, purgeable)
  455. {
  456.     {    /* array ColorSpec: 0 elements */
  457.     }
  458. };
  459.  
  460.  
  461. /*************************** Old API Paper Type Definitions **************************/
  462. // These paper type definitions represent the settings of the old LaserWriter SC's paper 
  463. // sizes. 
  464.  
  465. resource 'ptyp' (kOldPaperTypesID + 1, sysheap, purgeable)    // US Letter 
  466. {
  467.     "US Letter",
  468.     
  469.     // page rectangle 
  470.     0x00000000,                // 8.0 x 10.33
  471.     0x00000000,                
  472.     0x02400000,                
  473.     0x02E7C298,                
  474.  
  475.     // paper rectangle 
  476.     0xFFEE0000,                // 8.5 x 11.0
  477.     0xFFE7E14C,                
  478.     0x02520000,                
  479.     0x02FFE14C,                
  480.     
  481.     usLetterBase,
  482.     kDrvrCreatorType,
  483.  
  484.     inch,
  485.     oldStylePaperType,
  486.     fixedPrintArea,
  487.     isDefaultPaperType,
  488.     defaultBasePT,
  489.     {}
  490. };
  491.  
  492. resource 'ptyp' (kOldPaperTypesID + 2, sysheap, purgeable)    // A4 Letter 
  493. {
  494.     "A4 Letter",
  495.     
  496.     // page rectangle 
  497.     0x00000000,                // 8.0 x 11.0 
  498.     0x00000000,                
  499.     0x02400000,                
  500.     0x03180000,                
  501.  
  502.     // paper rectangle 
  503.     0xFFF70000,                // 8.25 x 11.67
  504.     0xFFE7E14C,                
  505.     0x02490000,                
  506.     0x03301EB4,                
  507.     
  508.     a4LetterBase,
  509.     kDrvrCreatorType,
  510.  
  511.     inch,    
  512.     oldStylePaperType,
  513.     fixedPrintArea,
  514.     notDefaultPaperType,
  515.     notDefaultBasePT,
  516.     {}
  517. };
  518.  
  519. resource 'ptyp' (kOldPaperTypesID + 3, sysheap, purgeable)    // US Legal 
  520. {
  521.     "US Legal",
  522.     
  523.     // page rectangle 
  524.     0x00000000,                // 8.0 x 13.33
  525.     0x00000000,                
  526.     0x02400000,                    
  527.     0x03BFC298,                
  528.  
  529.     // paper rectangle 
  530.     0xFFEE0000,                // 8.5 x 14.0
  531.     0xFFE7E14C,                
  532.     0x02520000,                
  533.     0x03D7E14C,                
  534.  
  535.     usLegalBase,
  536.     kDrvrCreatorType,
  537.  
  538.     inch,    
  539.     oldStylePaperType,
  540.     fixedPrintArea,
  541.     notDefaultPaperType,
  542.     notDefaultBasePT,
  543.     {}
  544. };
  545.  
  546. resource 'ptyp' (kOldPaperTypesID + 4, sysheap, purgeable)    // International Fanfold 
  547. {
  548.     "International Fanfold",
  549.     
  550.     // page rectangle 
  551.     0x00000000,                    // 8.0 x 11.33 
  552.     0x00000000,                    
  553.     0x02400000,                    
  554.     0x032FC298,                    
  555.     
  556.     // paper rectangle 
  557.     0xFFF70000,                    // 8.25 x 12.0 
  558.     0xFFE7E14C,                    
  559.     0x02490000,                    
  560.     0x0347E14C,                    
  561.     
  562.     unknownBase,
  563.     kDrvrCreatorType,
  564.  
  565.     inch,
  566.     oldStylePaperType,
  567.     fixedPrintArea,
  568.     notDefaultPaperType,
  569.     notDefaultBasePT,
  570.     {}
  571. };
  572.  
  573. resource 'ptyp' (kOldPaperTypesID + 5, sysheap, purgeable)    // Computer Paper 
  574. {
  575.     "Computer Paper",
  576.     
  577.     // page rectangle 
  578.     0x00000000,                // 13.33 x 10.33 
  579.     0x00000000,
  580.     0x03BFC298,
  581.     0x02E7C298,
  582.  
  583.     // paper rectangle 
  584.     0xFFE7E14C,                //    14.0 x 11.0
  585.     0xFFE7E14C,
  586.     0x03D7E14C,
  587.     0x02FFE14C,
  588.     
  589.     unknownBase,
  590.     kDrvrCreatorType,
  591.  
  592.     inch,    
  593.     oldStylePaperType,
  594.     fixedPrintArea,
  595.     notDefaultPaperType,
  596.     notDefaultBasePT,
  597.     {}
  598. };
  599.  
  600. resource 'ptyp' (kOldPaperTypesID + 6, sysheap, purgeable)    // Envelope (#10) 
  601. {
  602.     "Envelope (#10)",
  603.     
  604.     // page rectangle 
  605.     0x00000000,                    // 9.3333 x 3.3333 
  606.     0x00000000,                    
  607.     0x029FFF58,                    
  608.     0x00EFFF58,                    
  609.     
  610.     // paper rectangle 
  611.     0xFFF9FFAC,                    // 9.5 x 4.125 
  612.     0xFFE37FAC,                    
  613.     0x02A5FFAC,                    
  614.     0x010C7FAC,                    
  615.     
  616.     unknownBase,
  617.     kDrvrCreatorType,
  618.  
  619.     inch,
  620.     oldStylePaperType,
  621.     fixedPrintArea,
  622.     notDefaultPaperType,
  623.     notDefaultBasePT,
  624.     {}
  625. };
  626.  
  627.  
  628. /*************************** Help Manager Resource Definitions **************************/
  629. // These resources define the help text that will be displayed by the System 7 Help Manager
  630. // if help is enabled and on eof the print dialogs is visible.
  631.  
  632.  
  633. // The 'hwin' resource is used by the Help Manager and it links 'hdlg'
  634. // resources to the dialogs to which they apply.  In this case, we have
  635. // two 'hwin' list entries that reference the two old app. print dialogs.
  636.  
  637. resource 'hwin' (kHwinRsrcID, purgeable, sysheap)
  638. {
  639.     HelpMgrVersion,
  640.     hmDefaultOptions,
  641.     {
  642.         gxStlDialogResID,             'hdlg', 3, "Stl",        // Reference to PrStlDialog's 'hdlg' resource
  643.         gxJobDialogResID,             'hdlg', 3, "Job",        // Reference to PrJobDialog's 'hdlg' resource
  644.         kPrintOptionsDlgRsrcID, 'hdlg', 3, "Paper"    // Reference to Print Options dialog 'hdlg' resource
  645.     }
  646. };
  647.  
  648.  
  649. // The 'hfdr' resource tells the Finder that we have help information it should
  650. // display when the user moves the mouse over the ImageWriter LQ icon when help is enabled.
  651.  
  652. resource 'hfdr' (kHfdrRsrcID, purgeable, sysheap)
  653. {
  654.     HelpMgrVersion,
  655.     hmDefaultOptions,
  656.     0,                    // Default balloon definition function
  657.     0,                    // Default variation code
  658.     {
  659.         HMSTRResItem
  660.         {
  661.             kFinderHelpSTRID    // Resource ID of help string ('STR ') to display
  662.         }
  663.     }
  664. };
  665.  
  666.  
  667. // This string resource contains the help text that will be displayed in the Finder if you
  668. // move the mouse over the ImageWriter LQ icon when help is enabled.
  669.  
  670. resource 'STR ' (kFinderHelpSTRID, purgeable, sysheap)
  671. {
  672.     "ImageWriter LQ\n\n"
  673.     "To enable your Macintosh to print documents on an ImageWriter LQ connected to a serial port, place this file in your Extensions folder.";
  674. };
  675.  
  676.  
  677. // This 'hdlg' resource tells the system what help strings to display when the user moves
  678. // the mouse over the ImageWriter LQ's Style dialog with help enabled.
  679.  
  680. resource 'hdlg' (gxStlDialogResID, purgeable, sysheap) 
  681. {
  682.     HelpMgrVersion,
  683.     0,                                        // Start help with the first item in the corresponding 'DITL'
  684.     hmDefaultOptions,
  685.     0,                                        // Default balloon definition function
  686.     0,                                        // Ballon variation code - hang below and to the right
  687.     HMStringResItem                    //    This list references help strings to be used for any missing items
  688.     {
  689.         {0, 0},
  690.         {0, 0, 0, 0},
  691.         gxStlDialogResID, 1,
  692.         gxStlDialogResID, 2,
  693.         gxStlDialogResID, 3,
  694.         gxStlDialogResID, 4
  695.     },
  696.     {    /* array HDialogArray: 22 elements */
  697.         /* [1] */
  698.         HMStringResItem                //    OK button
  699.         {
  700.             {0, 0},
  701.             {0, 0, 0, 0},
  702.             gxStlDialogResID, 5,
  703.             gxStlDialogResID, 6,
  704.             gxStlDialogResID, 7,
  705.             gxStlDialogResID, 8
  706.         },
  707.         /* [2] */
  708.         HMStringResItem                //    Cancel button
  709.         {
  710.             {0, 0},
  711.             {0, 0, 0, 0},
  712.             gxStlDialogResID, 9,
  713.             gxStlDialogResID, 10,
  714.             gxStlDialogResID, 11,
  715.             gxStlDialogResID, 12
  716.         },
  717.         /* [3] */
  718.         HMSkipItem                        //    Driver name string
  719.         {
  720.         },
  721.         /* [4] */
  722.         HMSkipItem                         //    Horizontal line
  723.         {
  724.         },
  725.         /* [5] */
  726.         HMSkipItem                         //    Paper: string
  727.         {
  728.         },
  729.         /* [6] */
  730.         HMStringResItem                 //    US Letter button
  731.         {
  732.             {0, 0},
  733.             {0, 0, 0, 0},
  734.             gxStlDialogResID, 13,
  735.             gxStlDialogResID, 14,
  736.             gxStlDialogResID, 15,
  737.             gxStlDialogResID, 16
  738.         },
  739.         /* [7] */
  740.         HMStringResItem                 //    A4 Letter button
  741.         {
  742.             {0, 0},
  743.             {0, 0, 0, 0},
  744.             gxStlDialogResID, 17,
  745.             gxStlDialogResID, 18,
  746.             gxStlDialogResID, 19,
  747.             gxStlDialogResID, 20
  748.         },
  749.         /* [8] */
  750.         HMStringResItem                 // US Legal button
  751.         {
  752.             {0, 0},
  753.             {0, 0, 0, 0},
  754.             gxStlDialogResID, 21,
  755.             gxStlDialogResID, 22,
  756.             gxStlDialogResID, 23,
  757.             gxStlDialogResID, 24
  758.         },
  759.         /* [9] */
  760.         HMStringResItem                 //    International Fanfold button
  761.         {
  762.             {0, 0},
  763.             {0, 0, 0, 0},
  764.             gxStlDialogResID, 25,
  765.             gxStlDialogResID, 26,
  766.             gxStlDialogResID, 27,
  767.             gxStlDialogResID, 28
  768.         },
  769.         /* [10] */
  770.         HMStringResItem                 //    Computer Paper button
  771.         {
  772.             {0, 0},
  773.             {0, 0, 0, 0},
  774.             gxStlDialogResID, 29,
  775.             gxStlDialogResID, 30,
  776.             gxStlDialogResID, 31,
  777.             gxStlDialogResID, 32
  778.         },
  779.         /* [11] */
  780.         HMStringResItem                 //    Envelope (#10) button
  781.         {
  782.             {0, 0},
  783.             {0, 0, 0, 0},
  784.             gxStlDialogResID, 33,
  785.             gxStlDialogResID, 34,
  786.             gxStlDialogResID, 35,
  787.             gxStlDialogResID, 36
  788.         },
  789.         /* [12] */                        //    Orientation string
  790.         HMSkipItem 
  791.         {
  792.         },
  793.         /* [13] */
  794.         HMStringResItem                 //    Portrait orientation icon
  795.         {
  796.             {0, 0},
  797.             {0, 0, 0, 0},
  798.             gxStlDialogResID, 37,
  799.             gxStlDialogResID, 38,
  800.             gxStlDialogResID, 39,
  801.             gxStlDialogResID, 40
  802.         },
  803.         /* [14] */
  804.         HMStringResItem                 //    Landscape orientation icon
  805.         {
  806.             {0, 0},
  807.             {0, 0, 0, 0},
  808.             gxStlDialogResID, 41,
  809.             gxStlDialogResID, 42,
  810.             gxStlDialogResID, 43,
  811.             gxStlDialogResID, 44
  812.         },
  813.         /* [15] */
  814.         HMSkipItem                         // Special Effects: string
  815.         {
  816.         },
  817.         /* [16] */
  818.         HMStringResItem                 //    33% Reduction button
  819.         {
  820.             {0, 0},
  821.             {0, 0, 0, 0},
  822.             gxStlDialogResID, 45,
  823.             gxStlDialogResID, 46,
  824.             gxStlDialogResID, 47,
  825.             gxStlDialogResID, 48
  826.         },
  827.         /* [17] */
  828.         HMStringResItem                 //    66% Reduction button
  829.         {
  830.             {0, 0},
  831.             {0, 0, 0, 0},
  832.             gxStlDialogResID, 49,
  833.             gxStlDialogResID, 50,
  834.             gxStlDialogResID, 51,
  835.             gxStlDialogResID, 52
  836.         },
  837.         /* [18] */
  838.         HMStringResItem                 //    Full size button
  839.         {
  840.             {0, 0},
  841.             {0, 0, 0, 0},
  842.             gxStlDialogResID, 53,
  843.             gxStlDialogResID, 54,
  844.             gxStlDialogResID, 55,
  845.             gxStlDialogResID, 56
  846.         },
  847.         /* [19] */
  848.         HMSkipItem                         // Reductions: string
  849.         {
  850.         },
  851.         /* [20] */
  852.         HMStringResItem                 //    No gaps between pages checkbox
  853.         {
  854.             {0, 0},
  855.             {0, 0, 0, 0},
  856.             gxStlDialogResID, 57,
  857.             gxStlDialogResID, 58,
  858.             gxStlDialogResID, 59,
  859.             gxStlDialogResID, 60
  860.         },
  861.         /* [21] */
  862.         HMSkipItem                         // Version number
  863.         {
  864.         },
  865.         /* [22] */
  866.         HMSkipItem                         // Default ring around the OK button
  867.         {
  868.         }
  869.     }
  870. };
  871.  
  872. // This 'hdlg' resource tells the system what help strings to display when the user moves
  873. // the mouse over the ImageWriter LQ's Print dialog with help enabled.
  874.  
  875. resource 'hdlg' (gxJobDialogResID, purgeable, sysHeap) 
  876. {
  877.     HelpMgrVersion,
  878.     0,                                        // Start help with the first item in the corresponding 'DITL'
  879.     hmDefaultOptions,
  880.     0,                                        // Default balloon definition function
  881.     0,                                        // Ballon variation code - hang below and to the right
  882.     HMStringResItem                    //    This list references help strings to be used for any missing items
  883.     {
  884.         {0, 0},
  885.         {0, 0, 0, 0},
  886.         gxJobDialogResID, 1,
  887.         gxJobDialogResID, 2,
  888.         gxJobDialogResID, 3,
  889.         gxJobDialogResID, 4
  890.     },
  891.     {    /* array HDialogArray: 21 elements */
  892.         /* [1] */
  893.         HMStringResItem                 //    Print button
  894.         {
  895.             {0, 0},
  896.             {0, 0, 0, 0},
  897.             gxJobDialogResID, 5,
  898.             gxJobDialogResID, 6,
  899.             gxJobDialogResID, 7,
  900.             gxJobDialogResID, 8
  901.         },
  902.         /* [2] */
  903.         HMStringResItem                 //    Cancel button
  904.         {
  905.             {0, 0},
  906.             {0, 0, 0, 0},
  907.             gxJobDialogResID, 9,
  908.             gxJobDialogResID, 10,
  909.             gxJobDialogResID, 11,
  910.             gxJobDialogResID, 12
  911.         },
  912.         /* [3] */
  913.         HMSkipItem                         //    Print driver name string
  914.         {
  915.         },
  916.         /* [4] */
  917.         HMSkipItem                         //    Horizontal line
  918.         {
  919.         },
  920.         /* [5] */
  921.         HMSkipItem                         //    Quality: string
  922.         {
  923.         },
  924.         /* [6] */
  925.         HMStringResItem                 // Best quality button
  926.         {
  927.             {0, 0},
  928.             {0, 0, 0, 0},
  929.             gxJobDialogResID, 13,
  930.             gxJobDialogResID, 14,
  931.             gxJobDialogResID, 15,
  932.             gxJobDialogResID, 16
  933.         },
  934.         /* [7] */
  935.         HMStringResItem                 //    Faster quality button
  936.         {
  937.             {0, 0},
  938.             {0, 0, 0, 0},
  939.             gxJobDialogResID, 17,
  940.             gxJobDialogResID, 18,
  941.             gxJobDialogResID, 19,
  942.             gxJobDialogResID, 20
  943.         },
  944.         /* [8] */
  945.         HMStringResItem                 //    Draft quality button
  946.         {
  947.             {0, 0},
  948.             {0, 0, 0, 0},
  949.             gxJobDialogResID, 21,
  950.             gxJobDialogResID, 22,
  951.             gxJobDialogResID, 23,
  952.             gxJobDialogResID, 24
  953.         },
  954.         /* [9] */
  955.         HMSkipItem                         //    Page Range: string
  956.         {
  957.         },
  958.         /* [10] */
  959.         HMStringResItem                 //    All button
  960.         {
  961.             {0, 0},
  962.             {0, 0, 0, 0},
  963.             gxJobDialogResID, 25,
  964.             gxJobDialogResID, 26,
  965.             gxJobDialogResID, 27,
  966.             gxJobDialogResID, 28
  967.         },
  968.         /* [11] */
  969.         HMStringResItem                 //    From: button
  970.         {
  971.             {0, 0},
  972.             {0, 0, 0, 0},
  973.             gxJobDialogResID, 29,
  974.             gxJobDialogResID, 30,
  975.             gxJobDialogResID, 31,
  976.             gxJobDialogResID, 32
  977.         },
  978.         /* [12] */
  979.         HMStringResItem                 // Edittext of from field
  980.         {
  981.             {0, 0},
  982.             {0, 0, 0, 0},
  983.             gxJobDialogResID, 33,
  984.             gxJobDialogResID, 34,
  985.             gxJobDialogResID, 35,
  986.             gxJobDialogResID, 36
  987.         },
  988.         /* [13] */
  989.         HMSkipItem                        //    To: string
  990.         {
  991.         },
  992.         /* [14] */
  993.         HMStringResItem                 //    Edittext of to field
  994.         {
  995.             {0, 0},
  996.             {0, 0, 0, 0},
  997.             gxJobDialogResID, 37,
  998.             gxJobDialogResID, 38,
  999.             gxJobDialogResID, 39,
  1000.             gxJobDialogResID, 40
  1001.         },
  1002.         /* [15] */
  1003.         HMSkipItem                         //    Copies: string
  1004.         {
  1005.         },
  1006.         /* [16] */
  1007.         HMStringResItem                 //    Number of copies EditText field
  1008.         {
  1009.             {0, 0},
  1010.             {0, 0, 0, 0},
  1011.             gxJobDialogResID, 41,
  1012.             gxJobDialogResID, 42,
  1013.             gxJobDialogResID, 43,
  1014.             gxJobDialogResID, 44
  1015.         },
  1016.         /* [17] */
  1017.         HMSkipItem                         //    Head Scan: string
  1018.         {
  1019.         },
  1020.         /* [18] */
  1021.         HMStringResItem                 //    Bidirectional button
  1022.         {
  1023.             {0, 0},
  1024.             {0, 0, 0, 0},
  1025.             gxJobDialogResID, 45,
  1026.             gxJobDialogResID, 46,
  1027.             gxJobDialogResID, 47,
  1028.             gxJobDialogResID, 48
  1029.         },
  1030.         /* [19] */
  1031.         HMStringResItem                 //    Unidirectional button
  1032.         {
  1033.             {0, 0},
  1034.             {0, 0, 0, 0},
  1035.             gxJobDialogResID, 49,
  1036.             gxJobDialogResID, 50,
  1037.             gxJobDialogResID, 51,
  1038.             gxJobDialogResID, 52
  1039.         },
  1040.         /* [21] */
  1041.         HMStringResItem                 //    Options button
  1042.         {
  1043.             {0, 0},
  1044.             {0, 0, 0, 0},
  1045.             gxJobDialogResID, 53,
  1046.             gxJobDialogResID, 54,
  1047.             gxJobDialogResID, 55,
  1048.             gxJobDialogResID, 56
  1049.         },
  1050.         /* [20] */
  1051.         HMSkipItem                         //    Version number
  1052.         {
  1053.         },
  1054.         /* [20] */
  1055.         HMSkipItem                         //    Default ring around OK button
  1056.         {
  1057.         }
  1058.     }
  1059. };
  1060.  
  1061. // This 'hdlg' resource tells the system what help strings to display when the user moves
  1062. // the mouse over the ImageWriter LQ's Print Options dialog with help enabled.
  1063.  
  1064. resource 'hdlg' (kPrintOptionsDlgRsrcID, purgeable, sysHeap) 
  1065. {
  1066.     HelpMgrVersion,
  1067.     0,                                        // Start help with the first item in the corresponding 'DITL'
  1068.     hmDefaultOptions,
  1069.     0,                                        // Default balloon definition function
  1070.     0,                                        // Ballon variation code - hang below and to the right
  1071.     HMStringResItem                    //    This list references help strings to be used for any missing items
  1072.     {
  1073.         {0, 0},
  1074.         {0, 0, 0, 0},
  1075.         kPrintOptionsDlgRsrcID, 1,
  1076.         kPrintOptionsDlgRsrcID, 2,
  1077.         kPrintOptionsDlgRsrcID, 3,
  1078.         kPrintOptionsDlgRsrcID, 4
  1079.     },
  1080.     {    /* array HDialogArray: 23 elements */
  1081.         /* [1] */
  1082.         HMStringResItem                 //    OK button
  1083.         {
  1084.             {0, 0},
  1085.             {0, 0, 0, 0},
  1086.             kPrintOptionsDlgRsrcID, 5,
  1087.             kPrintOptionsDlgRsrcID, 6,
  1088.             kPrintOptionsDlgRsrcID, 7,
  1089.             kPrintOptionsDlgRsrcID, 8
  1090.         },
  1091.         /* [2] */
  1092.         HMStringResItem                 //    Cancel button
  1093.         {
  1094.             {0, 0},
  1095.             {0, 0, 0, 0},
  1096.             kPrintOptionsDlgRsrcID, 9,
  1097.             kPrintOptionsDlgRsrcID, 10,
  1098.             kPrintOptionsDlgRsrcID, 11,
  1099.             kPrintOptionsDlgRsrcID, 12
  1100.         },
  1101.         /* [3] */
  1102.         HMSkipItem                         //    Print driver string
  1103.         {
  1104.         },
  1105.         /* [4] */
  1106.         HMSkipItem                         //    Horizontal line
  1107.         {
  1108.         },
  1109.         /* [5] */
  1110.         HMStringResItem                 //    Automatic button
  1111.         {
  1112.             {0, 0},
  1113.             {0, 0, 0, 0},
  1114.             kPrintOptionsDlgRsrcID, 13,
  1115.             kPrintOptionsDlgRsrcID, 14,
  1116.             kPrintOptionsDlgRsrcID, 15,
  1117.             kPrintOptionsDlgRsrcID, 16
  1118.         },
  1119.         /* [6] */
  1120.         HMStringResItem                 //    Hand feed button
  1121.         {
  1122.             {0, 0},
  1123.             {0, 0, 0, 0},
  1124.             kPrintOptionsDlgRsrcID, 17,
  1125.             kPrintOptionsDlgRsrcID, 18,
  1126.             kPrintOptionsDlgRsrcID, 19,
  1127.             kPrintOptionsDlgRsrcID, 20
  1128.         },
  1129.         /* [7] */
  1130.         HMSkipItem                         //    Paper Feed: string
  1131.         {
  1132.         },
  1133.         /* [8] */
  1134.         HMSkipItem                        //    Sheet Feeder Optiosn: string 
  1135.         {
  1136.         },
  1137.         /* [9] */
  1138.         HMSkipItem                         //    Bin 1 string
  1139.         {
  1140.         },
  1141.         /* [10] */
  1142.         HMSkipItem                         //    Bin 2 string
  1143.         {
  1144.         },
  1145.         /* [11] */
  1146.         HMSkipItem                         // Bin 3 string
  1147.         {
  1148.         },
  1149.         /* [12] */
  1150.         HMSkipItem                         // First Sheet from: string
  1151.         {
  1152.         },
  1153.         /* [13] */
  1154.         HMSkipItem                         //    Remaining Sheets From: string
  1155.         {                
  1156.         },
  1157.         /* [14] */
  1158.         HMStringResItem                 //    Bin 1: first sheet from
  1159.         {
  1160.             {0, 0},
  1161.             {0, 0, 0, 0},
  1162.             kPrintOptionsDlgRsrcID, 21,
  1163.             kPrintOptionsDlgRsrcID, 22,
  1164.             kPrintOptionsDlgRsrcID, 23,
  1165.             kPrintOptionsDlgRsrcID, 24
  1166.         },
  1167.         /* [15] */
  1168.         HMStringResItem                  //    Bin 2: first sheet from
  1169.         {
  1170.             {0, 0},
  1171.             {0, 0, 0, 0},
  1172.             kPrintOptionsDlgRsrcID, 25,
  1173.             kPrintOptionsDlgRsrcID, 26,
  1174.             kPrintOptionsDlgRsrcID, 27,
  1175.             kPrintOptionsDlgRsrcID, 28
  1176.         },
  1177.         /* [16] */
  1178.         HMStringResItem                  //    Bin 3: first sheet from
  1179.         {
  1180.             {0, 0},
  1181.             {0, 0, 0, 0},
  1182.             kPrintOptionsDlgRsrcID, 29,
  1183.             kPrintOptionsDlgRsrcID, 30,
  1184.             kPrintOptionsDlgRsrcID, 31,
  1185.             kPrintOptionsDlgRsrcID, 32
  1186.         },
  1187.         /* [17] */
  1188.         HMStringResItem                  //    Bin 1: remaining sheets from
  1189.         {
  1190.             {0, 0},
  1191.             {0, 0, 0, 0},
  1192.             kPrintOptionsDlgRsrcID, 33,
  1193.             kPrintOptionsDlgRsrcID, 34,
  1194.             kPrintOptionsDlgRsrcID, 35,
  1195.             kPrintOptionsDlgRsrcID, 36
  1196.         },
  1197.         /* [18] */
  1198.         HMStringResItem                   //    Bin 2: remaining sheets from
  1199.         {
  1200.             {0, 0},
  1201.             {0, 0, 0, 0},
  1202.             kPrintOptionsDlgRsrcID, 37,
  1203.             kPrintOptionsDlgRsrcID, 38,
  1204.             kPrintOptionsDlgRsrcID, 39,
  1205.             kPrintOptionsDlgRsrcID, 40
  1206.         },
  1207.         /* [19] */
  1208.         HMStringResItem                   //    Bin 3: remaining sheets from
  1209.         {
  1210.             {0, 0},
  1211.             {0, 0, 0, 0},
  1212.             kPrintOptionsDlgRsrcID, 41,
  1213.             kPrintOptionsDlgRsrcID, 42,
  1214.             kPrintOptionsDlgRsrcID, 43,
  1215.             kPrintOptionsDlgRsrcID, 44
  1216.         },
  1217.         /* [20] */
  1218.         HMSkipItem                             //    Please note: string
  1219.         {
  1220.         },
  1221.         /* [21] */
  1222.         HMSkipItem                             //    Underline string
  1223.         {
  1224.         },
  1225.         /* [22] */
  1226.         HMSkipItem                             //    Underline string
  1227.         {
  1228.         },
  1229.         /* [23] */
  1230.         HMSkipItem                             //    Version string
  1231.         {
  1232.         },
  1233.         /* [24] */
  1234.         HMSkipItem                             //    Default outline of the OK button
  1235.         {
  1236.         }
  1237.     }
  1238. };
  1239.  
  1240.  
  1241. // This 'STR#' resource contains the help strings that are referenced in the 'hdlg' resource
  1242. // that corresponds to the PrStlDialog.
  1243.  
  1244. resource 'STR#' (gxStlDialogResID, purgeable, sysheap) 
  1245. {
  1246.     {    /* array StringArray: 60 elements */
  1247.         /* [1] */    "Missing enabled item in hdlg -8192",
  1248.         /* [2] */    "Missing disabled item in hdlg -8192",
  1249.         /* [3] */    "Missing checked item in hdlg -8192",
  1250.         /* [4] */    "Missing other item in hdlg -8192",
  1251.         /* [5] */    "To confirm the settings in this box and close the box, click this button (or press the Return or Enter key).",
  1252.         /* [6] */    "",
  1253.         /* [7] */    "",
  1254.         /* [8] */    "",
  1255.         /* [9] */    "To cancel any changes to the settings in this box and close the box, click this button.",
  1256.         /* [10] */    "",
  1257.         /* [11] */    "",
  1258.         /* [12] */    "",
  1259.         /* [13] */    "To print your document with standard U.S. letter paper (8 1/2 by 11 inches), click this button.",
  1260.         /* [14] */    "",
  1261.         /* [15] */    "When this button is selected, your document is set up for standard U.S. letter paper (8 1/2 by 11 inches).",
  1262.         /* [16] */    "",
  1263.         /* [17] */    "To print your document with A4 paper (a standard European letter size, 8 1/2 by 11 2/3 inches), click this button.",
  1264.         /* [18] */    "",
  1265.         /* [19] */    "When this button is selected, your document is set up for A4 paper (a standard European letter size, 8 1/2 by 11 2/3 inches).",
  1266.         /* [20] */    "",
  1267.         /* [21] */    "To print your document with U.S. legal paper (8 1/2 by 14 inches), click this button.",
  1268.         /* [22] */    "",
  1269.         /* [23] */    "When this button is selected, your document is set up for U.S. legal paper (8 1/2 by 14 inches).",
  1270.         /* [24] */    "",
  1271.         /* [25] */    "To print your document with international fanfold paper (8 1/4 by 12 inches), click this button.",
  1272.         /* [26] */    "",
  1273.         /* [27] */    "When this button is selected, your document is set up for international fanfold paper (8 1/4 by 12 inches).",
  1274.         /* [28] */    "",
  1275.         /* [29] */    "To print your document with standard computer paper (15 by 11 inches), click this button.",
  1276.         /* [30] */    "",
  1277.         /* [31] */    "When this button is selected, your document is set up for standard computer paper (15 by 11 inches).",
  1278.         /* [32] */    "",
  1279.         /* [33] */    "To print on number 10 (U.S. business-size) envelopes, click this button.",
  1280.         /* [34] */    "",
  1281.         /* [35] */    "When this button is selected, your document is set up for number 10 (U.S. business-size) envelopes.",
  1282.         /* [36] */    "",
  1283.         /* [37] */    "To set up your document for portrait (tall) printing, click this icon.",
  1284.         /* [38] */    "",
  1285.         /* [39] */    "When this icon is selected, your document is set up for portrait (tall) printing.",
  1286.         /* [40] */    "",
  1287.         /* [41] */    "To set up your document for landscape (wide) printing, click this icon.",
  1288.         /* [42] */    "",
  1289.         /* [43] */    "When this icon is selected, your document is set up for landscape (wide) printing.",
  1290.         /* [44] */    "",
  1291.         /* [45] */    "To print your document at two-third its actual size, click this button.",
  1292.         /* [46] */    "To print your document at two-third its actual size, click this button.  Not available because the application program you"
  1293.                         " are using always prints images at actual size.",
  1294.         /* [47] */    "When this button is selected, your document is printed at two-third its actual size.",
  1295.         /* [48] */    "",
  1296.         /* [49] */    "To print your document at one-third its actual size, click this button.",
  1297.         /* [50] */    "To print your document at one-third its actual size, click this button.  Not available because the application program you"
  1298.                         "are using always prints images at actual size.",
  1299.         /* [51] */    "When this button is selected, your document is printed at one-third its actual size.",
  1300.         /* [52] */    "",
  1301.         /* [53] */    "To print the document at its full size (with no reduction), click this button.",
  1302.         /* [54] */    "",
  1303.         /* [55] */    "When this button is selected, the document is printed at full size (with no reduction).",
  1304.         /* [56] */    "",
  1305.         /* [57] */    "To print your document without gaps between pages, click this  box.",
  1306.         /* [58] */    "",
  1307.         /* [59] */    "When this box is checked, your document is printed without gaps between pages.",
  1308.         /* [60] */    ""
  1309.     }
  1310. };
  1311.  
  1312.  
  1313. // This 'STR#' resource contains the help strings that are referenced in the 'hdlg' resource
  1314. // that corresponds to the PrJobDialog.
  1315.  
  1316. resource 'STR#' (gxJobDialogResID, purgeable, sysheap) 
  1317. {
  1318.     {    /* array StringArray: 56 elements */
  1319.         /* [1] */    "Missing enabled item in hdlg -8191",
  1320.         /* [2] */    "Missing disabled item in hdlg -8191",
  1321.         /* [3] */    "Missing checked item in hdlg -8191",
  1322.         /* [4] */    "Missing other item in hdlg -8191",
  1323.         /* [5] */    "To start printing using the settings in this dialog box, click this button (or press the Return or Enter key).",
  1324.         /* [6] */    "",
  1325.         /* [7] */    "",
  1326.         /* [8] */    "",
  1327.         /* [9] */    "To cancel the Print command without saving any changes to settings in the dialog box, click this button.",
  1328.         /* [10] */    "",
  1329.         /* [11] */    "",
  1330.         /* [12] */    "",
  1331.         /* [13] */    "To print your document with the highest resolution (216 dots per inch), click this button.  Best quality takes the longest to print.",
  1332.         /* [14] */    "",
  1333.         /* [15] */    "When this button is selected, your document is printed with the highest resolution (216 dots per inch).  Best quality takes the longest to print.",
  1334.         /* [16] */    "",
  1335.         /* [17] */    "To print your document with medium resolution (72 dots per inch), click this button.  Faster quality prints more quickly than Best, but more slowly than Draft.",
  1336.         /* [18] */    "To print your document with medium resolution (72 dots per inch), click this button.  Not available because the application program you are using always prints at the highest resolution.",
  1337.         /* [19] */    "When this button is selected, your document prints with medium resolution (72 dots per inch).  Faster quality prints more quickly than Best, but more slowly than Draft.",
  1338.         /* [20] */    "",
  1339.         /* [21] */    "To get a quick printout, click this button.  Text only is printed, using one font and font size, with plain, bold, and underline styles only.",
  1340.         /* [22] */    "",
  1341.         /* [23] */    "When this button is selected, you get a quick printout containing text only, using one font and font size, with plain, bold, and underline styles only.",
  1342.         /* [24] */    "",
  1343.         /* [25] */    "To print all the pages in the document, click this button.",
  1344.         /* [26] */    "",
  1345.         /* [27] */    "When this button is selected, all the pages in the document are printed.",
  1346.         /* [28] */    "",
  1347.         /* [29] */    "To print a range of pages, click this button and type the first and last page numbers in the boxes to the right.  To print one page, type its number in both boxes.",
  1348.         /* [30] */    "",
  1349.         /* [31] */    "When this button is selected, only the page range specified in the boxes to the right is printed.",
  1350.         /* [32] */    "",
  1351.         /* [33] */    "",
  1352.         /* [34] */    "To specify a range of pages to be printed, type the number of the first page here.",
  1353.         /* [35] */    "",
  1354.         /* [36] */    "",
  1355.         /* [37] */    "",
  1356.         /* [38] */    "To specify a range of pages to be printed, type the number of the last page here.",
  1357.         /* [39] */    "",
  1358.         /* [40] */    "",
  1359.         /* [41] */    "",
  1360.         /* [42] */    "Type the number of copies to be printed here.",
  1361.         /* [43] */    "",
  1362.         /* [44] */    "",
  1363.         /* [45] */    "To set the printer to print both left-to-right and right-to-left, click this button.  Printing is about 20% faster, but there may be slight problems with alignment.",
  1364.         /* [46] */    "",
  1365.         /* [47] */    "When this button is selected, the printer prints both left-to-right and right-to-left.  Printing is about 20% faster, but there may be slight problems with alignment.",
  1366.         /* [48] */    "",
  1367.         /* [49] */    "To set the printer to print left-to-right only, click this button.  Printing is slower than bidirectional printing, but print quality is higher.",
  1368.         /* [50] */    "",
  1369.         /* [51] */    "When this button is selected, the printer prints left-to-right only.  Printing is slower than bidirectional printing, but print quality is higher.",
  1370.         /* [52] */    "",
  1371.         /* [53] */    "To set paper feed options and sheet feeder options, click this button.",
  1372.         /* [54] */    "",
  1373.         /* [55] */    "",
  1374.         /* [56] */    ""
  1375.     }
  1376. };
  1377.  
  1378.  
  1379. // This 'STR#' resource contains the help strings that are referenced in the 'hdlg' resource
  1380. // that corresponds to the Print Options dialog.
  1381.  
  1382. resource 'STR#' (kPrintOptionsDlgRsrcID, purgeable, sysheap) 
  1383. {
  1384.     {    /* array StringArray: 44 elements */
  1385.         /* [1] */ "Missing enabled item in hdlg -8138",
  1386.         /* [2] */ "Missing disabled item in hdlg -8138",
  1387.         /* [3] */ "Missing checked item in hdlg -8138",
  1388.         /* [4] */ "Missing other item in hdlg -8138",
  1389.         /* [5] */ "To confirm the settings in this box and close the box, click this button (or press the Return or Enter key).",
  1390.         /* [6] */ "",
  1391.         /* [7] */ "",
  1392.         /* [8] */ "",
  1393.         /* [9] */ "To cancel any changes you have made to the settings in this box and close the box, click this button.",
  1394.         /* [10] */ "",
  1395.         /* [11] */ "",
  1396.         /* [12] */ "",
  1397.         /* [13] */ "To print on paper automatically fed into the printer, click this button.",
  1398.         /* [14] */ "",
  1399.         /* [15] */ "When this button is selected, the printer uses paper which is automatically fed into the printer.",
  1400.         /* [16] */ "",
  1401.         /* [17] */ "To print on paper fed into the printer by hand (one sheet at a time), click this button",
  1402.         /* [18] */ "",
  1403.         /* [19] */ "When this button is selected, the ImageWriter will pause before printing each page so that you can insert a new sheet of paper.",
  1404.         /* [20] */ "",
  1405.         /* [21] */ "To print the first page of your document on paper from bin 1, click this button.",
  1406.         /* [22] */ "",
  1407.         /* [23] */ "When this button is selected, the first page of your document is printed on paper from bin 1.",
  1408.         /* [24] */ "",
  1409.         /* [25] */ "To print the first page of your document on paper from bin 2, click this button.",
  1410.         /* [26] */ "",
  1411.         /* [27] */ "When this button is selected, the first page of your document is printed on paper from bin 2.",
  1412.         /* [28] */ "",
  1413.         /* [29] */ "To print the first page of your document on paper from bin 3, click this button.",
  1414.         /* [30] */ "",
  1415.         /* [31] */ "When this button is selected, the first page of your document is printed on paper from bin 3.",
  1416.         /* [32] */ "",
  1417.         /* [33] */ "To print every page except the first on paper from bin 1, click this button.",
  1418.         /* [34] */ "",
  1419.         /* [35] */ "When this button is selected, every page except the first is printed on paper from bin 1.",
  1420.         /* [36] */ "",
  1421.         /* [37] */ "To print every page except the first on paper from bin 2, click this button.",
  1422.         /* [38] */ "",
  1423.         /* [39] */ "When this button is selected, every page except the first is printed on paper from bin 2.",
  1424.         /* [40] */ "",
  1425.         /* [41] */ "To print every page except the first on paper from bin 3, click this button.",
  1426.         /* [42] */ "",
  1427.         /* [43] */ "When this button is selected, every page except the first is printed on paper from bin 3.",
  1428.         /* [44] */ ""
  1429.     }
  1430. };
  1431.